/** Home Page **/
body {
  padding-top: 60px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

/** 2 level sub menu **/
.dropdown-menu-with-subs .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px;
}

.dropdown-menu-with-subs li:hover .sub-menu {
  visibility: visible;
  display: block;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}
.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

/** Global **/
#content {
  margin-left:0px;
}
.hide-sidebar, .show-sidebar {
  cursor: pointer;
}
.padd-bottom {
  margin-bottom: 5px;
}
.breadcrumb {
  margin: 0 0 0px;
  padding: 10px 0px;
  background-color: transparent;
}

.block {
  border: 1px solid #ccc;
  background: white;
  margin: 1em 0em;
  border-top: none;
}

.block-content {
  margin: 1em;
  min-height: .25em;
}

.block-header {
  margin-bottom: 0px;
  border-right: none;
  border-left: none;
  -webkit-border-radius: 0px;
     -moz-border-radius: 0px;
          border-radius: 0px;
}
.block-header div {
  padding-top: 10px;
}

.easyPieChart {
  margin: 0px auto;
}

.chart-bottom-heading {
  margin-top: 5px;
  text-align: center;
}

/** Side Bar **/
.bs-docs-sidenav {
  max-width: 360px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
     -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
        -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
             box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
@media (max-width: 992px) {
  .bs-docs-sidenav {
    margin: 0;
    max-width: 100% !important;
  }
}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
   -webkit-border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
      -moz-border-top-left-radius: 6px;
     -moz-border-top-right-radius: 6px;
           border-top-left-radius: 6px;
          border-top-right-radius: 6px;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-bottom-right-radius: 6px;
   -webkit-border-bottom-left-radius: 6px;
     -moz-border-bottom-right-radius: 6px;
      -moz-border-bottom-left-radius: 6px;
          border-bottom-right-radius: 6px;
           border-bottom-left-radius: 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}
.nav-list > .active>a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
  background-color: #08c;
}

/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}

/* Form-Check
------------------------- */
.form-check .alert {
  border-radius: 0;
}
.form-check .alert.alert-danger {
  padding: 0;
  margin-bottom: 4px;
  border: none;
  background: none;
}
.control-block {
  display: block;
  width: 100%;
  margin-top: 5px;
}
.control-inline {
  display: inline-block;
  width: auto;
}
.control-label .required {
  color: #e02222;
  font-size: 12px;
  padding-left: 2px;
}

/* Component: ngDialog
----------------------------*/
.ngdialog .ngdialog-content,
.ngdialog.ngdialog-theme-default .ngdialog-content,
.ngdialog-content {
  border-radius: 4px;
  background: #fefefe;
}
.ngdialog-message > .message {
  margin: 20px 0;
}
.ngdialog.ngdialog-theme-default .ngdialog-close:before {
  font-size: 28px;
}

/* Component: ngTable
----------------------------*/
.ng-table {
  margin-bottom: 0;
}
.ng-table-pager {
  margin-top: 20px;
}
.ng-table-pager .pagination {
  margin: 0;
}

/* Main Content
------------------------- */
.main {
  position: absolute;
  top: 51px;
  padding: 20px;
  padding-bottom: 70px;
  width: 100%;
  min-height: -moz-calc(100% - 51px);
  min-height: -webkit-calc(100% - 51px);
  min-height: calc(100% - 51px);
  height: auto !important;
  height: 100%;
}
.main .page-header {
  margin-top: 0;
}
@media (max-width: 992px) {
  .main .page-header {
    margin-top: 15px;
  }
}
.main .page-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px;
  width: 100%;
  border-top: 1px solid #eee;
  text-align: center;
  background-color: #f5f5f5;
}

.code {
  font-size: 14px;
  min-height: 100px;
}

/* Loading Mask
------------------------- */
.flyover .loading-mask {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: black;
  z-index: 1049;
}
.flyover .loading-panel {
  left: 0;
  top: 50%;
  position: fixed;
  width: 100%;
  z-index: 1050;
}
.flyover .loading-panel .loading-body {
  padding: 15px;
  width: 10em;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #777;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  background-color: #fefefe;
}
